projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37dc29
)
paned: Don't ignore the type attribute
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 12 May 2020 20:26:28 +0000
(16:26 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 12 May 2020 20:27:25 +0000
(16:27 -0400)
We were meaning to only handle <child> here for
compatibility, not <child type="somethingelse">.
gtk/gtkpaned.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpaned.c
b/gtk/gtkpaned.c
index 29ebdf350b3a3c3c83685556608ef870261fdab6..a789fb97d1fedcf4769a2628f5f21066f84ed654 100644
(file)
--- a/
gtk/gtkpaned.c
+++ b/
gtk/gtkpaned.c
@@
-772,7
+772,7
@@
gtk_paned_buildable_add_child (GtkBuildable *buildable,
gtk_paned_set_resize_end_child (self, TRUE);
gtk_paned_set_shrink_end_child (self, TRUE);
}
- else if (GTK_IS_WIDGET (child))
+ else if (
type == NULL &&
GTK_IS_WIDGET (child))
{
if (self->start_child == NULL)
{